package com.study.spring.aop;

import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.reflect.MethodSignature;

import java.util.Arrays;

public class TransactionAop {
    public void beforeOpenTransaction() {
        System.out.println("开启事务");
    }

    public void asfterCommitTransaction() {
        System.out.println("关闭事务");
    }

    public void throwRollbackTranstacion() {
        System.out.println("回滚事务");
    }
}
